<?php
class Constant 
{
    var $RootGroupId="5";
    var $CompanyGroupId="9";
    var $ColleageGroupId="11";
    var $UserType=array("1"=>"内部用户","2"=>"企业用户"
                        ,"7"=>"禁用账号");
    var $Industry = "所属产业";
    var $Active = "活动类型";
    var $Companytype = "企业类型";
    var $InformationFrom = "信息来源";
    var $Phase="项目所处阶段";
    var $Intention="意向";
    var $Talk="谈判";
    var $Registr="注册";
    var $Incubate = "孵化";
    var $Declare = "申报";
    var $NRegistr="内资注册";
    var $WRegistr="外资注册";
    var $ExchangeEate="美元汇率";
    var $Contype="负责方向";
    var $Require_Type="需求类型";
    var $Declarate_Status="申报状态";
    var $SuccessDeclare = "已立项";
    var $FailDeclare = "未立项";
    var $Depart_Charge="主管模块";
    var $Nation="国家级";
    var $Personfile="人才项目材料";
    var $LeadTalent="常熟市海内外领军人才";
    var $Otherfile="其它项目材料";
    var $Forbid = "入驻划区";
    var $Practice = "实用新型";
    var $Invent = "发明";
    var $Appearance = "外观";
    var $PCT = "国外PCT专利";
    var $SoftwareCopyright = "软件著作权";
    var $Education=array("1"=>"研究生","2"=>"博士","3"=>"硕士","4"=>"本科","5"=>"大专","6"=>"中专");
    var $Persontype=array(
        "is_core"=>"核心团队","is_stuoversea"=>"留学人员",
        "is_technical"=>"科技人员","is_rd"=>"研发人员",
        "is_intern"=>"实习人员","is_newgraduates"=>"应届毕业生"
    );
    var $File=array("项目活动记录","重要会谈记录","项目附件");
    var $DeclareType="申报类型";
    var $ColleageTitle = "高校职称";
    var $PatentType="专利类型";
    var $Patentstatus=array("0"=>"申请","1"=>"受理","2"=>"授权","3"=>"购买");
    var $Patentstatusstr=array("0"=>"申请中","1"=>"已受理","2"=>"已授权","3"=>"已购买");
    var $Patentto=array("0"=>"企业","1"=>"个人");
    var $TeclareType="立项类型";
    var $TechnologyReport="科技项目申报";
    var $HighTechProduct = "高新产品";
    var $SoftwareProduct = "软件产品";
    var $HighTechComp = "高新企业";
    var $SoftwareComp = "软件企业";
    var $Technologystatus=array("0"=>"申请","1"=>"受理","2"=>"授权");
    var $Technologystatusstr=array("0"=>"申请中","1"=>"已受理","2"=>"已授权");
    var $TalstackType="人才项目申报级别";
    var $PDeclareType=array("0"=>"未申报企业","1"=>"已申报企业");
    var $CompColumn = array("contact"=>"负责人","tel"=>"联系电话","capital"=>"注册资金",
    						"reg_time"=>"注册时间","income"=>"经济总收入","person"=>"人才","patent"=>"专利");
    var $Month = array("1"=>"1月","2"=>"2月","3"=>"3月","4"=>"4月","5"=>"5月","6"=>"6月",
                                            "7"=>"7月","8"=>"8月","9"=>"9月","10"=>"10月","11"=>"11月","12"=>"12月");
    var $EditpageIndex=array("showinfo"=>array("str"=>"企业基本信息"),"editpage"=>array("str"=>"企业产品服务与应用领域"),
    						//"edittrackinfo"=>array("str"=>"企业应用领域")
    						);	
    
    var $EconomicIndex=array("economic"=>array("str"=>"企业经济情况","pagelist"=>array("editeconomic","showeconomic","timeeconomics")),
                            "financ"=>array("str"=>"企业融资情况","pagelist"=>array("editfinanc","showfinanc")));
        
    var $TalentIndex=array("person"=>array("str"=>"企业人员信息","pagelist"=>array("editperson","showperson")),
    	"socialsecurity"=>array("str"=>"在本公司交纳社保信息","pagelist"=>array("editssperson","showssperson"))
    );	
    
    var $ReortIndex=array("technology"=>array("str"=>"科技项目情况","pagelist"=>array("edittechnology","timetechnology","showtechnology")),
                            "talent"=>array("str"=>"人才项目情况","pagelist"=>array("edittalent","timetalent","showtalent")),
                                    "otherdeclare"=>array("str"=>"其它项目申报情况","pagelist"=>array("editotherdeclare","showotherdeclare")));	
    
    var $TechnologyIndex=array("patents"=>array("str"=>"知识产权指标","pagelist"=>array("editpatent","showpatent","timepatents")),
                        "depcosts"=>array("str"=>"研发费用投入",
                        "pagelist"=>array("timedepcosts","showdepcost","editdepcost","deplist","showdeplist","editdeplist",
                                    "editstitution","showstitution","showachieve","editachieve")),
                        //"achievements"=>array("str"=>"产学研合情况","pagelist"=>array("timeachievements","editachievement","showachievement"))
    					);
    var $Demand = array(
                            "finacerelease"=>array("str"=>"融资需求信息","pagelist"=>array("editfinacerelease","showfinacerelease")),
                            "demand"=>array("str"=>"其它需求信息","pagelist"=>array("editdemand","showdemand"))
                            );
    var $InfoIndex = array(//"talentdemand"=>array("str"=>"人才需求信息"),
                            "financedemand"=>array("str"=>"融资需求信息"),
                            "publishdemand"=>array("str"=>"其它需求信息")
                          );
    var $CarrierLease=array("carrierlease"=>array("str"=>"载体租赁信息",
                        "pagelist"=>array("editcarrierlease","showcarrierlease")));
    
    var $TalentStatistics = array("talentdeclarereport"=>array("str"=>"高层次人才团队统计表"),"talentreport"=>array("str"=>"领军人才统计表"),
    );
    var $EcnomicStatistics = array("totaldatareport"=>array("str"=>"企业统计汇总表"),"compdatareport"=>array("str"=>"企业统计报表"), "compindustryreport"=>array("str"=>"企业产业化情况表"));
    var $TechStatistics = array("patentsummary"=>array("str"=>"企业专利情况统计表"));
    var $FundStatistics = array("finacreport"=>array("str"=>"企业融资情况统计表"), "talentrewardreport"=>array("str"=>"人才项目资助情况统计表"),
                                "technologyreport"=>array("str"=>"科技项目资助情况统计表"));
    var $IncubatorStatistics = array("compinfo"=>array("str"=>"企业信息来源情况表"),
    								 "index"=>array("str"=>"企业统计情况总表","pagelist"=>array("showcompinfo")),
                                     "allcompany"=>array("str"=>"企业统计情况表"),
    								);
    var $PageList=array();
    
    function getMenu($controller){
        
        if($controller=="Reports"){
            $objTechStatistics=$this->TechStatistics;
            $objtypes = classregistry::init('Codetype')->getTechnologyType($this->TechnologyReport);
            foreach($objtypes as $key=>$objtype){
                $objTechStatistics["protypereport/".$key]=array("str"=>$objtype."统计表");
            }
            $objTechStatistics["softwarecopyrightreport"]=array("str"=>"软件著作权统计表");
            $this->TechStatistics=$objTechStatistics;
        }
        $this->PageList=array(
			"Msgs" => array("index" => array("str" => '收件箱'),
								"outbox" => array("str" => '发件箱'),
								"system_msg" => array("str" => '系统消息'),
								"write" => array("str" => '写消息')),
            "Projects"=>array("index"=>array("str"=>"项目信息",
                                "pagelist"=>array("editinfo","showinfo","moveinfo")),
                            "editfile"=>array("str"=>"项目支撑材料"),
                            "followinfos"=>array("str"=>"项目跟踪动态",
                                "pagelist"=>array("addfollowinfo","editfollowinfo","showfollowinfo"))
                            ),
            "Companys"=>array(
                            "index"=>array("str"=>"企业信息",
                                                "pagelist"=>array("editinfo","showinfosummary"),""), 
                            "editpage"=>array("str"=>"企业发展动态","submenu"=>$this->EditpageIndex,
                                "pagelist"=>array("editpage","edittrackinfo")),
                            "economic"=>array("str"=>"企业经济指标","url"=>"economic","submenu"=>$this->EconomicIndex,
                                "pagelist"=>array("economic","editeconomic","showeconomic","timeeconomics",
                                                    "financ","editfinanc","showfinanc",)),
                            "tech"=>array("str"=>"企业科技指标","url"=>"patents","submenu"=>$this->TechnologyIndex,
                                "pagelist"=>array("patents","editpatent","showpatent","timepatents",
                                                    "depcosts","showdepcost","editdepcost","timedepcosts",
                                                    "editstitution","showstitution","showachieve","editachieve",
                                                    "deplist","showdeplist","editdeplist",
                                                    "achievements","editachievement","showachievement","timeachievements")),
                            "tal"=>array("str"=>"企业人才指标","url"=>"person","submenu"=>$this->TalentIndex,
                                "pagelist"=>array("person","editperson","showperson","socialsecurity","editssperson","showssperson")),
                            "compreport"=>array("str"=>"企业项目情况","url"=>"technology","submenu"=>$this->ReortIndex,										 
                                 "pagelist"=>array("technology","timetechnology","edittechnology","showtechnology",
                                                 "talent","edittalent","showtalent",
                                                "otherdeclare","editotherdeclare","showotherdeclare")), 
                            "demand"=>array("str"=>"企业需求信息","url"=>"applyjob","submenu"=>$this->Demand,
                                                "pagelist"=>array("dormitorylease","showdormitorylease","editdormitorylease",
                                                                "learentbonus","editlearentbonus","showlearentbonus",
                                                                "researchrentbonus","editresearchrentbonus","showresearchrentbonus",
                                                                "applyjob","editapplyjob","showapplyjob",
                                                                "finacerelease","editfinacerelease","showfinacerelease",
                                                                "editdemand","showdemand","demand")),
                            "changepwd"=>array("str"=>"修改密码")),
            "Searchs"=>array("index"=>array("str"=>"科技项目申报库","url"=>"index",
                                "pagelist"=>array("techfilter","showtechnology","settechfilter")),
                            "talentdb"=>array("str"=>"人才项目申报库","url"=>"talentdb",
                                "pagelist"=>array("talentfilter","showtalent","settalentfilter")),
                            "allfinace"=>array("str"=>"科技金融申报库","url"=>"allfinace",
                                "pagelist"=>array("finacefilter","showfinacedetail","setfinacefilter")),
                            "servicesummary"=>array("str"=>"企业需求信息汇总","url"=>"talentdemand","submenu"=>$this->InfoIndex,
                                "pagelist"=>array("talentdemand","financedemand","publishdemand")),
                            "companyperson"=>array("str"=>"企业通讯录","url"=>"companyperson"),
                            ),
            "Reports"=>array(
                            "allindustry"=>array("str"=>"产业情况分布"),
                            "talentstatistics"=>array("str"=>"人才情况统计","url"=>"talentdeclarereport","submenu"=>$this->TalentStatistics,
                                "pagelist"=>array("talentdeclarereport","talentreport","talentimportreport")),
                            "ecnomicstatistics"=>array("str"=>"经济数据统计","url"=>"totaldatareport","submenu"=>$this->EcnomicStatistics,
                                "pagelist"=>array("totaldatareport","compdatareport","compindustryreport")),
                            "techstatistics"=>array("str"=>"科技成果统计","url"=>"patentsummary","submenu"=>$this->TechStatistics,
                                "pagelist"=>array("patentsummary","softwarecopyrightreport","protypereport")),
                            "fundstatistics"=>array("str"=>"获得资助情况统计","url"=>"finacreport","submenu"=>$this->FundStatistics,
                                "pagelist"=>array("finacreport","talentrewardreport","technologyreport")),
                            "incubatorstatistics"=>array("str"=>"领军人才企业统计","url"=>"index","submenu"=>$this->IncubatorStatistics,
                                "pagelist"=>array("index","allcompany","showcompinfo"))
                            ),
                            
            "Colleages"=>array(
                                   "index"=>array("str"=>"技术转移数据","pagelist"=>array("showcolleageinfo","editcolleageinfo")),
                                   "news"=>array("str"=>"高校研发新闻","pagelist"=>array("shownews","editnews")),
                                   "person"=>array("str"=>"高校人员信息","pagelist"=>array("showperson","editperson")),									 
                                   "cgpatents"=>array("str"=>"高校专利信息","pagelist"=>array("showcgpatent","editcgpatent","products","editproduct","showproduct")),
                                   "equipments"=>array("str"=>"高校重大设备","pagelist"=>array("showequipment","editequipment")),
                                   "labs"=>array("str"=>"高校重点实验室","pagelist"=>array("showlab","editlab")),
                                   "researchcenters"=>array("str"=>"高校研究中心","pagelist"=>array("showresearchcenter","editresearchcenter")),
                                   "demand"=>array("str"=>"高校需求发布","pagelist"=>array("showdemand","editdemand")),
                                   "testplatforms"=>array("str"=>"高校测试平台","pagelist"=>array("showtestplatform","edittestplatform","aptitudes","showaptitude","editaptitude")),
                                   "awardprojects"=>array("str"=>"高校获奖项目","pagelist"=>array("showawardproject","editawardproject")),
                                ),
            "Users"=>array("codetypes"=>array("str"=>"类型管理","url"=>"/types/codetypes"),
                            "talstack"=>array("str"=>"人才项目类型管理","url"=>"/types/talstack"),
                            "index"=>array("str"=>"用户管理",
                                "pagelist"=>array("add","edit","view","editusermessage","editpassword")),
                            "groups"=>array("str"=>"模块管理","url"=>"/groups/index"),
							"notices"=>array("str"=>"公告管理","url"=>"/notices/index"),
                             "updatecompany"=>array("str"=>"数据同步","url"=>"/notices/updatecompany")//    
                            ),                           
            "Types"=>array("codetypes"=>array("str"=>"类型管理","pagelist"=>array("addcodetypes")),
                             "talstack"=>array("str"=>"人才项目类型管理","url"=>"/types/talstack",
                                "pagelist"=>array("addtalstack","edittalstack","showtalstack")),
                            "users"=>array("str"=>"用户管理","url"=>"/users/index"),
                            "groups"=>array("str"=>"模块管理","url"=>"/groups/index"),
							"notices"=>array("str"=>"公告管理","url"=>"/notices/index"),
                             "updatecompany"=>array("str"=>"数据同步","url"=>"/notices/updatecompany")
                            ),
            "Groups"=>array("codetypes"=>array("str"=>"类型管理","url"=>"/types/codetypes"),
                            "talentsdecl"=>array("str"=>"人才项目类型管理","url"=>"/types/talstack"),
                            "users"=>array("str"=>"用户管理","url"=>"/users/index"),
                            "index"=>array("str"=>"模块管理",
                                "pagelist"=>array("add","edit","view","manage")),
							"notices"=>array("str"=>"公告管理","url"=>"/notices/index"),
                             "updatecompany"=>array("str"=>"数据同步","url"=>"/notices/updatecompany")
                            ),
			"Notices"=>array("codetypes"=>array("str"=>"类型管理","url"=>"/types/codetypes"),
                            "talentsdecl"=>array("str"=>"人才项目类型管理","url"=>"/types/talstack"),
                            "users"=>array("str"=>"用户管理","url"=>"/users/index"),
                            "groups"=>array("str"=>"模块管理","url"=>"/groups/index"),
								"index"=>array("str"=>"公告管理","pagelist"=>array("add","edit","view")),
                             "updatecompany"=>array("str"=>"数据同步","url"=>"/notices/updatecompany")
                            )
                        );
        return $this->PageList[$controller];
    }
}
?>